<?php
namespace Home\Controller;
use Think\Controller;
class ShiController extends Controller{
	function shi(){
		if(IS_POST){
			$file = $_FILES['name'];
			// var_dump($file);die;
			$data = app_upload_image($file);
			// var_dump($data);die;
			oss_upload($data);
			$ac = get_url($data);
			var_dump($ac);
		}else{
			$this->display();
		}
	}
}